<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>D站</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <link rel="icon" th:href="@{/pagesResource/img/icon.png}">
    <link rel="stylesheet" type="text/css" th:href="@{/pagesResource/css/animate.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/pagesResource/css/bootstrap.min.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/pagesResource/css/iconfont.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/pagesResource/css/style.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/pagesResource/css/responsive.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/pagesResource/css/color.css}">
    <link rel="stylesheet" type="text/css" th:href="@{/boostrapFileInputResources/css/fileinput.min.css}">

</head>
<body >
    <div class="wrapper">
        <div th:include="main/simpleHeader :: header"></div>
    </div>
    <div style="background-color: #fafafa">
        <br>
        <div class="container" style="max-width: 1100px;background-color: white">
            <!-- 这里显示基本信息 -->
            <br>
            <br>
            <div>
                <div class="col-md-1">
                    <img th:src="@{/images/userIcon/{userIc}(userIc=${userInfo.userIcon})}" style="height: 50px; width: 50px;border-radius: 50%;">
                </div>
                <div class="col-md-9">
                    <th:block th:text="${userInfo.userName}">张三</th:block>
                    <br>
                    <br>
                    <th:block th:text="${userInfo.userSignature}">太搞笑了！</th:block>
                </div>
                <div class="col-md-2">
                    <br>
                    <br>
                    <th:block th:text="'粉丝数:' + ${followNum}">粉丝数: 0</th:block>
                </div>
            </div>
            <br>
            <br>
            <div style="background-color: #fafafa; height: 30px; width: max-content">

            </div>
            <hr size="30"/>
            <!-- 这里显示视频主页 -->
            <div>
                <h1>个人视频-></h1>
                <div class="vidz-row" th:if="${videoInfoList} == null">
                    <br>
                    <br>
                    <br>
                    当前还未发布过视频---~！
                </div>
                <div class="vidz-row" th:if="${videoInfoList} != null">
                    <div class="container" style="max-width: 1170px;">
                        <div id="latest" class="vidz_sec">
                            <div class="vidz_list">
                                <div class="row">
                                    <div class="col-lg-3" th:each="videoInfo:${videoInfoList}">
                                        <div class="videoo">
                                            <div class="vid_thumbainl">
                                                <a th:href="@{/video/videoPlayback} + '?videoId=' +${videoInfo.videoId} + '&isFree=' + ${videoInfo.isFree}" title="">
                                                    <img th:if="${videoInfo.isFree} eq false" th:src="@{/images/sysImages/vip.png}" style="height: 30px; width: 30px;border-radius:50%">
                                                    <img th:if="${videoInfo.isFree} eq true" th:src="@{/images/sysImages/free.png}" style="height: 30px; width: 30px;border-radius:50%">
                                                    <img th:src="@{/video/getVideoCoverageImgById/} + '?videoId=' + ${videoInfo.videoId}" th:alt="${videoInfo.videoTitle}"
                                                    style="height: 150px;width: 100%">
                                                    <span class="vid-time" th:text="${videoInfo.videoDuration/60} + ':' + ${videoInfo.videoDuration%60}">2:56</span>
                                                </a>
                                            </div>
                                            <div class="video_info">
                                                <h3><a href="video_playback_page.html" th:text="${videoInfo.videoTitle}">⚡伤心的人别偷大鸟⚡</a></h3>
                                                <h4><img th:src="@{/images/userIcon/} + ${videoInfo.userIcon}" style="width: 25px;height: 25px;border-radius:50%">&nbsp;&nbsp;<a href="Single_Channel_Home.html" th:text="${videoInfo.userName}">芜湖大司马</a></h4>
                                                <br>
                                                <small class="posted_dt" th:text="${#dates.format(videoInfo.createDate, 'yyyy-MM-dd')} + ','">2020-12-19 17:04:37,</small>
                                                <span th:utext="${videoInfo.videoViewNum} + '人看过'">209.2万 人看过</span>
                                            </div>
                                        </div>
                                    </div>
                                </div>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- 这里显示动态主页 -->
            <div style="background-color: #fafafa; height: 50px; width: max-content">

            </div>
            <hr size="30"/>
            <div>
                <h1>个人动态-></h1>
            </div>
        </div>
    </div>

</body>
<script th:src="@{/pagesResource/js/jquery.min.js}"></script>
<script th:src="@{/pagesResource/js/bootstrap.min.js}"></script>
<script type="text/javascript" th:src="@{/pagesResource/ckplayer/ckplayer.js}" charset="utf-8"
        data-name="ckplayer"></script>
<script src="/js/sweetAlert.js"></script>
<script th:src="@{/pagesResource/js/script.js}"></script>
</html>